<div class="fly-tab">
  <span>
    <a href="{:u('home/index/all')}" class="<?php if(CONTROLLER_NAME=='Index' && ACTION_NAME=='all'){echo 'tab-this';} ?>">全部</a>
    <a href="{:u('home/index/not')}" class="<?php if(CONTROLLER_NAME=='Index' && ACTION_NAME=='not'){echo 'tab-this';} ?>">未结帖</a>
    <a href="{:u('home/index/resolved')}" class="<?php if(CONTROLLER_NAME=='Index' && ACTION_NAME=='resolved'){echo 'tab-this';} ?>">已采纳</a>
    <a href="{:u('home/index/elite')}" class="<?php if(CONTROLLER_NAME=='Index' && ACTION_NAME=='elite'){echo 'tab-this';} ?>">精帖</a>
    <a href="{:u('home/cen/user')}">我的帖</a></span>
  <form action="{:u('home/index/hunt')}" class="fly-search">
    <i class="iconfont icon-sousuo"></i>
    <input class="layui-input" autocomplete="off" placeholder="搜索内容，回车跳转" type="text" name="q"></form>
  <a href="{:U('home/publish/index')}" class="layui-btn jie-add">发布问题</a>
</div>